package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.EcdemicParking;
import com.wisdomparking.bean.simple.SimpleEcdemicParking;

@Mapper
public interface EcdemicParkingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EcdemicParking record);

    int insertSelective(EcdemicParking record);

    EcdemicParking selectByPrimaryKey(Integer id);
    
    EcdemicParking selectByName(String name);

    int updateByPrimaryKeySelective(EcdemicParking record);

    int updateByPrimaryKey(EcdemicParking record);
    
    List<EcdemicParking> getEcdemicParkingList(Map<String, Object> map);
    
    long getCountByEcdemicParking(Map<String, Object> map);
    
    List<SimpleEcdemicParking> getDistanceEcdemicParking(Map<String, Object> map);
}